package {
	import com.views.interfaces.IInitLoading;

	import flash.display.MovieClip;

	/**
	 * ...
	 * @author Liseen
	 */
	public class InitLoading extends MovieClip implements IInitLoading {

		public function InitLoading() {
			super();

		}

		/* INTERFACE assist.view.interfaces.IInitLoading */

		public function get content():MovieClip {
			return this;
		}

		public function set tip(value:String):void {
			this._Tip.text = value;
		}

		public function render(_loadTxt:String, _percent:int):void {
			this._loadBar.width = (3.84 * _percent);
			this._loadBall.x = (this._loadBar.width + this._loadBar.x);
			this._loadTxt.text = _loadTxt;
		}

	}

}
